package com.jzo2o.customer.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jzo2o.api.customer.dto.response.AddressBookResDTO;
import com.jzo2o.customer.model.domain.AddressBook;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jzo2o.customer.model.dto.request.AddressBookPageQueryReqDTO;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 地址薄 Mapper 接口
 * </p>
 *
 * @author itcast
 * @since 2023-07-06
 */
public interface AddressBookMapper extends BaseMapper<AddressBook> {

    Page<AddressBookResDTO> pageQuery(@Param("page") Page<AddressBookResDTO> page, @Param("userId") Long userId, @Param("dto") AddressBookPageQueryReqDTO addressBookPageQueryReqDTO);
}
